//
//  NativeTestCtrl.swift
//  Runner
//
//  Created by rubick on 2022/1/17.
//

import UIKit

class NativeTestCtrl: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        self.title = "原生测试页面"
        self.setupChild()
    }
    func setupChild() {
        view.backgroundColor = UIColor.lightGray
        let label = UILabel(frame: CGRect(x: (self.view.frame.size.width - 200) / 2.0, y: 200, width: 200, height: 20))
        label.textColor = .white
        label.text = "this is native test page."
        label.textAlignment = .center
        label.font = UIFont.systemFont(ofSize: 16)
        view.addSubview(label)
    }
}
